import java.awt.*;
import java.awt.event.*;

class Party [
    public void build Invite(){
        Frame f = new Frame();
        Label l = new Label("Party at Tim's");
        Button b = new Button("You bet");
        Button c = new Button("Shoot me");
        Panel p = new Panel();
        p.add(l);
    } // more code here ...
]